﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;

namespace MyLibrary.API.Data
{
    public class OleDBProvider: IDataProvider
    {
        public OleDBProvider()
        { }

        public Type GetConnectionType()
        {
            return typeof(OleDbConnection);
        }

        public Type GetCommandType()
        {
            return typeof(OleDbCommand);
        }

        public Type GetReaderType()
        {
            return typeof(OleDbDataReader);
        }        
    }
}
